<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');

class BizData extends SDKDomain {

       	
    private $success;
    
        /**
    * @return 业务调用是否成功
    */
        public function getSuccess() {
        return $this->success;
    }
    
    /**
     * 设置业务调用是否成功     
     * @param Boolean $success     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setSuccess( $success) {
        $this->success = $success;
    }
    
        	
    private $bizCode;
    
        /**
    * @return 业务错误码
    */
        public function getBizCode() {
        return $this->bizCode;
    }
    
    /**
     * 设置业务错误码     
     * @param String $bizCode     
     * 参数示例：<pre>PUB_BIZCHECK_CAT_ID_NOTEXIST</pre>     
     * 此参数必填     */
    public function setBizCode( $bizCode) {
        $this->bizCode = $bizCode;
    }
    
        	
    private $bizMsg;
    
        /**
    * @return 业务错误信息
    */
        public function getBizMsg() {
        return $this->bizMsg;
    }
    
    /**
     * 设置业务错误信息     
     * @param String $bizMsg     
     * 参数示例：<pre>类目不能为空。</pre>     
     * 此参数必填     */
    public function setBizMsg( $bizMsg) {
        $this->bizMsg = $bizMsg;
    }
    
        	
    private $bizData;
    
        /**
    * @return 业务数据
    */
        public function getBizData() {
        return $this->bizData;
    }
    
    /**
     * 设置业务数据     
     * @param String $bizData     
     * 参数示例：<pre>{     "data":{         "primaryPicture":{             "id":"primaryPicture",             "tag":"primaryPicture",             "type":"cbu_picture",             "fields":{                 "uiType":"cbu_picture",                 "label":"商品主图",                 "info":{                  },                 "required":true,                 "size":"medium",                 "promote":{                     "top":"建议您上传 750*750 像素以上的实拍大图，包含商品整体款式和商品细节 &lt;em&gt;最后一张发白底图可增加商品曝光机会，图片文案避免字体侵权&lt;/em&gt; &lt;a target=\"_blank\" href=\"/page/redirect.html?name=primaryPictureNorm\"&gt;查看规范&lt;/a&gt;"                 },                 "asyncCheck":false,                 "showWlImage":true,                 "maxItems":5             },             "position":"body"         },         "title":{             "id":"title",             "tag":"title",             "type":"cbu_title",             "fields":{                 "uiType":"cbu_title",                 "label":"商品标题",                 "info":{                  },                 "required":true,                 "readonly":false,                 "visible":true,                 "size":"large",                 "promote":{                     "right":"&lt;a href=\"/page/redirect.html?name=titleSuggestion\"&gt;填写建议&lt;/a&gt;"                 },                 "asyncCheck":true,                 "showCounter":true,                 "placeholder":"建议使用通俗的产品名称，突出商品特性、卖点和优惠，请勿使用“最、第一”等违规词汇。",                 "maxLength":60             },             "position":"body"         },         "totalSales":{             "id":"totalSales",             "tag":"totalSales",             "type":"cbunumber",             "fields":{                 "uiType":"cbunumber",                 "label":"可售总量",                 "info":{                  },                 "required":false,                 "readonly":false,                 "visible":true,                 "size":"small",                 "asyncCheck":false,                 "precision":0             },             "position":"body"         },         "priceRange":{             "id":"priceRange",             "tag":"priceRange",             "type":"cbu_interval_table",             "fields":{                 "uiType":"cbu_interval_table",                 "label":"区间报价",                 "info":{                  },                 "required":false,                 "readonly":false,                 "isZebra":true,                 "column":[                     {                         "name":"pricerange_operation",                         "uiType":"cbuinput",                         "label":"操作",                         "info":{                          },                         "required":false,                         "readonly":true,                         "visible":false,                         "size":"medium",                         "asyncCheck":false,                         "showCounter":true                     },                     {                         "name":"pricerange_beginAmount",                         "uiType":"cbunumber",                         "label":"购买数量",                         "info":{                          },                         "required":false,                         "readonly":false,                         "visible":true,                         "size":"medium",                         "asyncCheck":false,                         "precision":0                     },                     {                         "name":"pricerange_price",                         "uiType":"cbunumber",                         "label":"L0-L1拿货价",                         "info":{                          },                         "required":false,                         "readonly":false,                         "visible":true,                         "size":"medium",                         "asyncCheck":false,                         "precision":2                     },                     {                         "name":"pricerange_firstPrice",                         "uiType":"cbunumber",                         "label":"L2-L4会员价",                         "info":{                          },                         "required":false,                         "readonly":false,                         "visible":true,                         "size":"medium",                         "asyncCheck":false,                         "precision":2                     },                     {                         "name":"pricerange_secondPrice",                         "uiType":"cbunumber",                         "label":"L5-L6会员价",                         "info":{                          },                         "required":false,                         "readonly":false,                         "visible":true,                         "size":"medium",                         "asyncCheck":false,                         "precision":2                     },                     {                         "name":"pricerange_preview",                         "uiType":"cbuinput",                         "label":"预览（可根据买家采购的不同数量设置不同价格）",                         "info":{                          },                         "required":false,                         "readonly":true,                         "visible":true,                         "size":"medium",                         "asyncCheck":false,                         "showCounter":true                     }                 ],                 "value":[                  ],                 "dataInfo":[                  ],                 "itemTips":{                  }             },             "position":"body"         }     },     "hierarchy":{         "root":"cbulayout_35496",         "structure":{             "blockTradeInfo":[                 "saleProp",                 "onlineTrade",                 "cbuUnit",                 "quotationType",                 "bPrice",                 "priceRange",                 "skuTable",                 "invReduce",                 "totalSales",                 "beginAmount",                 "standardPrice",                 "supplyMode",                 "lightCustom",                 "lightService",                 "orderProduct",                 "batchSale",                 "mixBatch",                 "upshelfTime",                 "relationOffer"             ],             "blockExtras":[                 "tradeTemplate",                 "privacy",                 "buyerProtection",                 "deliveryTime",                 "seven_day",                 "takeSample",                 "commodityCustomization",                 "warrantyService",                 "onsiteService"             ],             "blockLogistics":[                 "cbuSendAddress",                 "freight",                 "officialLogistics",                 "weight",                 "suttleWeight",                 "volume"             ],             "blockDescription":[                 "description",                 "detailVideo",                 "userCategory"             ],             "blockProps":[                 "title",                 "catProp",                 "importProp",                 "productDocument"             ],             "blockPrimary":[                 "primaryPicture",                 "primaryVideo"             ],             "cbulayout_35496":[                 "globalMessage",                 "navStruct",                 "catNamer",                 "blockPrimary",                 "blockProps",                 "blockTradeInfo",                 "blockExtras",                 "blockLogistics",                 "blockDescription",                 "submit",                 "plugin",                 "assistBoard"             ]         }     },     "global":{         "renderData":{             "appType":"isv",             "appKey":null,             "appSource":null         },         "name":"icmp_global",         "systemParam":{             "catId":1031910,             "icmpPageName":"render",             "edit":false,             "isItemEdit":false,             "contextPath":"/general",             "catNames":"女装&gt;连衣裙",             "catIds":"10166&gt;1031910"         }     } }</pre>     
     * 此参数必填     */
    public function setBizData( $bizData) {
        $this->bizData = $bizData;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "success", $this->stdResult )) {
    				$this->success = $this->stdResult->{"success"};
    			}
    			    		    				    			    			if (array_key_exists ( "bizCode", $this->stdResult )) {
    				$this->bizCode = $this->stdResult->{"bizCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "bizMsg", $this->stdResult )) {
    				$this->bizMsg = $this->stdResult->{"bizMsg"};
    			}
    			    		    				    			    			if (array_key_exists ( "bizData", $this->stdResult )) {
    				$this->bizData = $this->stdResult->{"bizData"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "success", $this->arrayResult )) {
    			$this->success = $arrayResult['success'];
    			}
    		    	    			    		    			if (array_key_exists ( "bizCode", $this->arrayResult )) {
    			$this->bizCode = $arrayResult['bizCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "bizMsg", $this->arrayResult )) {
    			$this->bizMsg = $arrayResult['bizMsg'];
    			}
    		    	    			    		    			if (array_key_exists ( "bizData", $this->arrayResult )) {
    			$this->bizData = $arrayResult['bizData'];
    			}
    		    	    		}
 
   
}
?>